package com.ld.security.server.admin.modules.gl.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ld.security.common.core.anno.IdKey;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.base.entity.SuperEntity;
import com.ld.security.common.mybatis.constant.SqlCondition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("gl_mock")
@ApiModel("假数据")
@Data
public class GlMockEntity  extends SuperEntity
{

  @ApiModelProperty("标题")
  @SqlKey(SqlCondition.like)
    private String label;




  @ApiModelProperty("映射路径")
  @SqlKey(SqlCondition.like)
    private String url;




  @ApiModelProperty("包名")
  @SqlKey(SqlCondition.like)
    private String packName;




  @ApiModelProperty("数据内容")

    private String content;


  @IdKey({"label","packName","content"})
  @Override
  public String getId() {
    return super.getId();
  }
}
